ji=0
while ji<=45:
    tu=0
    while tu<=23:
        if 2*ji+4*tu==90:
            print("鸡:{}\n兔：{}".format(ji,tu))
        tu+=1
    ji+=1
